<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
	<title>待审期刊</title>
	<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

.tabfont01 {
	font-family: "宋体";
	font-size: 9px;
	color: #555555;
	text-decoration: none;
	text-align: center;
}

.font051 {
	font-family: "宋体";
	font-size: 12px;
	color: #333333;
	text-decoration: none;
	line-height: 20px;
}

.font201 {
	font-family: "宋体";
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}

.button {
	font-family: "宋体";
	font-size: 14px;
	height: 37px;
}

html {
	overflow-x: auto;
	overflow-y: auto;
	border: 0;
}
-->
</style>

	<link href="css/css.css" rel="stylesheet" type="text/css" />
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript">
$(function(){
	var status = $(".status").html();
	if(status == 2) {
		$(".status").html("停刊");
	} else if(3 == status) {
		$(".status").html("未通过");
	} else if(1 == status) {
		$(".status").html("通过");
	} else if(0 == status) {
		$(".status").html("未审核");
	}
});
</script>
	
</head>
<body>
<form name="" action="periodical/periodicalHostUnit" method="post">
<input type="hidden" name="value" value="${ value }" />
	<table id="mainpage" width="100%" border="0" cellspacing="0"
		cellpadding="0">
		<tr>
			<td height="30">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td height="62px" background="images/nav04.gif">
							<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
								<tr>
									<td width="21px"><img src="images/ico07.gif" width="20px" height="18px" /></td>
									<td width="550px">主办单位：
										<input name="periodical.hostUnit" type="text" size="12" />
										<input id="select" type="submit" class="right-button02" value="查询" />
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table id="subtree1" style="DISPLAY: " width="100%" border="0"
					cellspacing="0" cellpadding="0">
					<tr>
						<td>
							<table width="95%" border="0" align="center" cellpadding="0"
								cellspacing="0">
								<tr>
									<td height="40" class="font42">
										<table width="100%" border="0" cellpadding="4" align="center"
											cellspacing="1" bgcolor="#464646" class="newfont03">
											<tr>
												<td height="20" colspan="9" align="center" bgcolor="#EEEEEE"
													class="tablestyle_title">期刊信息</td>
											</tr>
											<tr>
												<td width="4%" align="center" bgcolor="#EEEEEE">选择</td>
												<td width="15%" height="20" align="center" bgcolor="#EEEEEE">期刊名称</td>
												<td width="15%" align="center" bgcolor="#EEEEEE">主办单位</td>
												<td width="15%" align="center" bgcolor="#EEEEEE">标签</td>
												<td width="6%" align="center" bgcolor="#EEEEEE">出版周期</td>
												<td width="5%" align="center" bgcolor="#EEEEEE">状态</td>
												<td width="7%" align="center" bgcolor="#EEEEEE">创建时间</td>
												<td width="8%" align="center" bgcolor="#EEEEEE">操作</td>
											</tr>
											<c:forEach items="${requestScope.pages.records}" var="periodical">
											<tr align="center">
												<td bgcolor="#FFFFFF"><input type="checkbox" name="delid" /></td>
												<td height="20" bgcolor="#FFFFFF">${ periodical.name }</td>
												<td bgcolor="#FFFFFF">${ periodical.hostUnit }</td>
												<td bgcolor="#FFFFFF">${ periodical.tag }</td>
												<td bgcolor="#FFFFFF">${ periodical.cycle }</td>
												<td class="status" bgcolor="#FFFFFF">${ periodical.status }</td>
												<td bgcolor="#FFFFFF">${ periodical.createDate }</td>
												<td bgcolor="#FFFFFF"><a href="periodical/periodicalCheck?value=3&periodical.periodicalId=${ periodical.periodicalId }">审核</a></td>
											</tr>
											</c:forEach>
										</table>
									</td>
								</tr>
								<tr>
									<td><jsp:include page="/page2.jsp" /></td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</form>
</body>
</html>
